package org.amphiprion.montrictracv4.web.model;

import java.util.List;

import org.amphiprion.apiforanywebsite.annotation.WebElement;
import org.amphiprion.apiforanywebsite.annotation.WebElement.ValueType;
import org.amphiprion.apiforanywebsite.annotation.WebElementRoot;

@WebElementRoot(cssSelector = "div[id=app-main]")
public class WebLudotheque {

	@WebElement(cssSelector = "div[id=boardgame_row_boxes_list60] div[class=row-header] div[class=infos] span[class=nb_value]")
	public int nbGames;

	@WebElement(cssSelector = "div[id=boardgame_row_boxes_list60] div[class~=boardgame_boxes] div[class~=boardgame_box]")
	public List<WebGame> games;

	@WebElement(cssSelector = "div[class~=navigation] img[class=img-profil-130_130]", valueType = ValueType.ATTRIBUTE, attributeName = "src")
	public String image;

}
